var express = require("express");
var router = express.Router();
var cate = require("../controllers/cateController");
/* GET home page. */
router.get("/", cate.getCate);
router.get("/getPostCate", cate.getPostCate);
router.get("/getInfo", cate.getInfo);
router.get("/getCode", cate.getCode);
router.get("/proveCode", cate.proveCode);
router.get("/registered", cate.registered);
router.get("/dropOut", cate.dropOut);
router.get("/editUser", cate.editUser);
router.delete("/deleteUser", cate.deleteUser);
router.get("/getFiles", cate.getFiles);
router.post("/getFiles", cate.getFiles);
router.get("/paging", cate.paging);
router.get("/jsonp",cate.jsonp)

module.exports = router;
